package test;

import org.springframework.stereotype.Component;

@Component("boat")
public class boat implements Drive{
    public void drive(){
        System.out.println("驾驶轮船");
    }
}
